//
//  ChatModel.h
//  QQchat
//
//  Created by cocoazxj@163.com on 15/3/30.
//  Copyright (c) 2015年 handcool. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ChatModel : NSObject
@property (nonatomic, strong) NSString *text;
@property (nonatomic, strong) NSString *time;
@property (nonatomic, assign) int type;
@property (nonatomic, assign) BOOL isTime;

// 计算内容需要的高度
@property (nonatomic, assign) CGFloat cellH;
@property (nonatomic, assign) CGFloat textH;
@property (nonatomic, assign) CGFloat textW;

+ (instancetype)chatModel:(NSDictionary *)dict;
@end
